package com.lk.template.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lk
 * @date 2024/5/24 10:44
 */
@Data
public class UserVo implements Serializable {

  @Schema(description = "ID")
  private Integer id;

  @Schema(description = "角色ID")
  private Integer roleId;

  @Schema(description = "角色名称")
  private String roleName;

  @Schema(description = "账号")
  private String account;

  @Schema(description = "用户名")
  private String userName;

  @Schema(description = "电话")
  private String phone;

  @Schema(description = "邮箱")
  private String email;

  @Schema(description = "头像")
  private String headImage;

  @Schema(description = "是否第一次登录(true需修改密码)")
  private Boolean restPassword;

  @Schema(description = "是否禁止登录")
  private Boolean whetherBlock;

  @Schema(description = "token")
  private String token;
}
